package com.gjs.cd.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.gjs.common.enums.entity.StatusEnum;
import com.gjs.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author zhongwengaung
 * @version 1.0.0
 * @ClassName CdResource.java
 * @Description TODO
 * @createTime 2022年03月15日 22:55:00
 */
@Getter
@Setter
@ApiModel(value = "CdResource对象", description = "光盘（品种）资源表")
public class CdResource extends BaseEntity {
    @ApiModelProperty("cd_detail的id")
    @TableField("cd_id")
    private Long cdId;

    @ApiModelProperty("资源id，对应天马资源总表")
    @TableField("resource_id")
    private Long resourceId;

    @ApiModelProperty("状态")
    @TableField("status")
    private StatusEnum status;
}
